<?php
namespace AuctionCore\Common;


/**
*PhpRedis测试类
*/
class PhpRedisTest extends \PHPUnit_Framework_TestCase
{	
	public function testLock(){
		$redis = new \AuctionCore\Common\PhpRedis();
		 
		var_dump($redis->lock('aa'));
		var_dump($redis->lock('aa'));
		var_dump($redis->unlock('aa'));
		var_dump($redis->lock('aa'));
		var_dump($redis->unlock('aa'));

	}	

}

?>